package com.ydd.entity;

import java.io.Serializable;

import lombok.Builder;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
* @program: nz_backstage
* @description: 收藏/点赞
* @author: xierongbin
* @create: 2023-05-29 10:34
**/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "收藏/点赞")
public class YddUserData implements Serializable{

/**
 * null
 */
  @ApiModelProperty(value = "null")
  private Long id;

/**
 * null
 */
  @ApiModelProperty(value = "文章Id")
  private Integer articleId;

/**
 * null
 */
  @ApiModelProperty(value = "用户Id")
  private Long userId;

/**
 * 1表示记录收藏，2表示记录点赞
 */
  @ApiModelProperty(value = "1表示记录收藏，2表示记录点赞")
  private Integer type;


}
